package com.nciae.po;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Guoliyu
 * @since 2022-03-31
 */
public class StudentUnion implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 学生会成员学号
     */
    private String tNo;


    @TableField(exist = false)
    private User user;


    @TableField(exist = false)
    private String userJson;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String gettNo() {
        return tNo;
    }

    public void settNo(String tNo) {
        this.tNo = tNo;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getUserJson() {
        return userJson;
    }

    public void setUserJson(String userJson) {
        this.userJson = userJson;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "StudentUnion{" +
                "id=" + id +
                ", tNo='" + tNo + '\'' +
                ", user=" + user +
                ", userJson='" + userJson + '\'' +
                '}';
    }
}
